package com.lifeonwalden.ms.web.site;

import com.lifeonwalden.ms.common.logger.LoggerUtil;
import org.apache.logging.log4j.Logger;

public class AuthRunner {
    private final static Logger logger = LoggerUtil.getLogger(AuthRunner.class);

    public static void main(String[] args) {
        ServletServer servletServer = new ServletServer();
//        servletServer.setContextPath("/ms");
        servletServer.setWithAuthModule(true);
        try {
            servletServer.run();
        } catch (Exception e) {
            logger.error("Failed to start server", e);
        }
    }
}
